package com.karry.yl.service.services;


import com.karry.commons.base.SuperService;
import com.karry.yl.domain.elder.Elderly;
import com.karry.yl.domain.healthdata.HealthData;
import com.karry.yl.domain.services.Records;

import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

/**
 * @author Administrator
 */
public interface RecordsService extends SuperService<Records> {

    /**
     * @param records
     * @param healthDataList
     * @param userId
     */
    void save(Records records, List<HealthData> healthDataList, Long userId);

    /**
     * @param records
     * @param healthDataList
     */
    void update(Records records, List<HealthData> healthDataList);

    /**
     * 保存服务记录数据
      * @param records
     * @param healthDatas
     * @param elderly
     * @param userId
     * @param userName
     * @param orgId
     * @param orgName
     */
    void saveData(String records, String healthDatas, Elderly elderly, Long userId, String userName, Long orgId, String orgName) throws Exception;
}
